package xiaoyang.dao;

import org.apache.ibatis.annotations.Param;
import xiaoyang.pojo.AppVersion;

import java.util.List;

public interface VersionMapper {

        public boolean versionAdd(AppVersion appVersion);

        List<AppVersion> getVersion(@Param("appId") Integer appId);

        boolean upVersion(AppVersion appVersion);

      AppVersion appVersionId(@Param("id") Integer id);

      boolean verDel(@Param("appId") Integer appId);

      int appIdCount(@Param("appId") Integer appId);

      int updateDownloads(@Param("id") Integer id);

      boolean upApk(@Param("id") Integer id);
}
